package com.example.fund;

import android.graphics.Color;

public class Constant {
	public final static int[] colorSet = new int[]{
		Color.BLACK,//0  金
		Color.rgb(0, 197, 205),  //1  *
		Color.rgb(122,103,238),//2   *
		Color.rgb(0,199,140),//3   *
		Color.rgb(255,153,18),//4  *
		Color.BLUE,//5  500
		Color.MAGENTA,//6   *
		Color.rgb(205,16,118),//7  *
		Color.GRAY,//8 *
		Color.rgb(56,142,142),//9 *
		Color.rgb(139, 0, 139),//10 证
		Color.rgb(139,54,38),//11
		Color.rgb(139,95,101),//12 *
		Color.rgb(255,99,71),//13  *
		Color.rgb(46,139,87),//14 *
		Color.rgb(89,89,89),//15 *
		Color.rgb(139,139,0),//16 *
		Color.rgb(210,105,30),//17 *
		Color.RED//18  国
		};

	public final static int[] colorSet1 = new int[]{
			Color.BLACK,//0  金
			Color.BLUE,//5  500
			Color.rgb(139, 0, 139),//10 证
			Color.RED//18  国
	};
	
	public static final String LOG_TAG="FUND";
	
	public static final String szIndex = "0000001";//上证
	
	public static final String[][] indexNumbers = new String[][]{
		{"XAU","伦敦金"},
		{"OIL","布油"},
		{"0000001","上证"},
		{"0000050","50等权"},
		{"0000300","沪深300"},
//		{"0000982","500等权"},
		{"0000905","中证500"},
		{"1399006","创业板"},
		{"1399102","创业板综"},
		{"0000832","转债"},
		{"1399986","银行"},
		{"1399707","证券"},
		{"1399809","保险"},
		{"1399983","地产"},
		{"0000068","资源"},
		{"0000928","能源"},
		{"1399998","煤炭"},
		{"0000819","有色"},
		{"1399440","钢铁"},
		{"1399974","国企改革"},
		{"1399995","基建"},
		{"1399991","带路"},
		{"1399807","高铁"},
		{"0000922","红利"},
		{"0000901","小康"},
		{"0000806","消费服务"},
		{"1399814","大农业"},
		{"0000097","高端装备"},
		{"1399973","国防"},
		{"1399967","军工"},
		{"1399813","国安"},
		{"0000932","消费"},
		{"0000807","食品饮料"},
		{"1399997","白酒"},
		{"0000933","医药"},
		{"1399989","医疗"},
		{"1399993","CS生科"},
		{"1399812","养老"},
		{"0000827","环保"},
		{"0000977","低碳"},
		{"1399806","环境治理"},
		{"1399808","新能"},
		{"1399976","CS新能车"},
		{"1399811","CS电子"},
		{"0000935","信息"},
		{"1399363","计算机"},
		{"1399239","信息技术"},
		{"1399994","信息安全"},
		{"1399996","智能家居"},
		{"1399610","TMT50"},
		{"0000998","TMT"},
		{"1399970","移动互联"},
		{"1399805","互联金融"},
		{"1399992","CS并购"},
		{"1399804","体育"},
		{"1399971","传媒"},
//		{"0000941","新能源"},
//		{"0000928","能源"},
//		{"0000929","材料"},
//		{"0000071","材料等权"},
//		{"0000930","工业"},
//		{"0000072","工业等权"},
//		{"1399973","国防"},
//		{"0000931","可选"},
//		{"0000073","可选等权"},
//		{"0000932","消费"},
//		{"1399987","酒"},
//		{"0000933","医药"},
//		{"0000808","生物 "},
//		{"0000934","金融 "},
//		{"0000076","金融等权"},
//		{"0000935","信息"},
//		{"0000936","电信"},
//		{"0000078","电信等权"},
//		{"0000937","公用"},
//		{"0000079","公用等权"},
//		{"1399905","中证500"},
//		{"0000964","新兴"},
		{"0000000",""}
		};
	
	public static final String[] positiveArr = new String[]{"涨1","涨2","涨3","涨4","涨5","涨6","涨7","涨8","涨9","涨10","涨11","涨12","涨13","涨14","涨15","涨16","涨17","涨18","涨19","涨20",
			"涨21","涨22","涨23","涨24","涨25","涨26","涨27","涨28","涨29","涨30","涨40","涨50","涨60","涨70","涨80"};
	public static final String[] negativeArr = new String[]{"跌1","跌2","跌3","跌4","跌5","跌6","跌7","跌8","跌9","跌10","跌11","跌12","跌13","跌14","跌15","跌16","跌17","跌18","跌19","跌20",
			"跌21","跌22","跌23","跌24","跌25","跌26","跌27","跌28","跌29","跌30","跌40","跌50","跌60","涨70","涨80"};

	public static final String[] annualArr = new String[]{"年化线","年化1","年化2","年化3","年化4","年化5","年化6","年化7","年化8","年化9","年化10","年化11","年化12","年化13","年化14","年化15","年化16","年化17","年化18","年化19","年化20",
			"年化21","年化22","年化23","年化24","年化25","年化26","年化27","年化28","年化29","年化30"};
	
/*	public static Map<String,Integer> fundColorMap1 = new HashMap<String,Integer>();
//	public static Map<String,String> indexNamesMap1 = new HashMap<String,String>();
	static{
		
		for(int i=0;i<indexNumbers.length;i++)
		{
//			fundColorMap.put(indexNumbers[i][0], colorSet[i%colorSet.length]);
	//		indexNamesMap.put(indexNumbers[i][0], indexNumbers[i][1]);
		}
	}*/
}
